# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-jfvelte
pkgdesc="Samsung Galaxy S4 Value Edition"
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-jfvelte mkbootimg msm-fb-refresher"
makedepends="devicepkg-dev"
source="deviceinfo fb.modes"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	install -D -m644 "$srcdir"/fb.modes "$pkgdir"/etc/fb.modes
	devicepkg_package $startdir $pkgname
}

sha512sums="
76cda9168b43a1154edd08e4604222676f15bbeb69f2c49657ac31dc93bb14b3cc5ad76acd94a8cc70dbf52461dcb7f5a888c9a7868f51ef09c1c057d2a28429  deviceinfo
515cd3be1816bea9a1859a37f6568e3e82a9f8f16cbbc71ba13d60723f98eafbda9046ebb1ee7f4ae23dd2b2b2b18506f64516ca45ff71af18e7c163f12248bd  fb.modes
"
